package com.yuyin.liuchangjiang.mvptest;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.TextView;


import com.yuyin.liuchangjiang.mvptest.Base.BaseActivity;
import com.yuyin.liuchangjiang.mvptest.Presenter.RegesterContract;

import butterknife.BindView;

public class MainActivity extends BaseActivity {


@BindView(R.id.name_txt)
protected TextView textView;
@BindView(R.id.name_edit)
protected EditText nameEdit;
@BindView(R.id.age_edit)
protected  EditText ageEdit;


    @Override
    protected int provideContentViewId() {
        return R.layout.activity_main;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void setListener() {

    }

    @Override
    protected void doMore() {

    }


    private RegesterContract.View viewer = new RegesterContract.View() {
        @Override
        public void setPresenter(Object presenter) {

        }

        @Override
        public void error(String msg) {

        }

        @Override
        public void showData() {

        }

    };
}
